package sqldml

const (
	UPDATE_META_DATA_SOURCE_SQL = `UPDATE LEVAULT.META_DATA_SOURCE SET URL = ?,USER_NAME = ?, TYPE = ?, PASSWORD = ?;`

	UPDATE_ML_DB_INFO_SQL = `UPDATE LEVAULT.ML_DB_INFO SET URL = ?, HOST = ?,DB_TYPE = ?,PASSWORD = ?,PORT = ?, USER_NAME = ?;`

	UPDATE_IMG_SQL = `UPDATE LEVAULT.IMG SET URL = REPLACE(URL, ?, ?), TH_URL = REPLACE(TH_URL, ?, ?);`

	UPDATE_OTHER_SQL = `UPDATE LEVAULT.OTHER SET URL = REPLACE(URL, ?, ?);`

	UPDATE_WORD_SQL = `UPDATE LEVAULT.WORD SET URL = REPLACE(URL, ?, ?);`

	UPDATE_PPT_SQL = `UPDATE LEVAULT.PPT SET URL = REPLACE(URL, ?, ?);`

	UPDATE_EXCEL_SQL = `UPDATE LEVAULT.EXCEL SET URL = REPLACE(URL, ?, ?);`

	UPDATE_ZIP_SQL = `UPDATE LEVAULT.ZIP SET URL = REPLACE(URL, ?, ?);`

	UPDATE_RAR_SQL = `UPDATE LEVAULT.RAR SET URL = REPLACE(URL, ?, ?);`

	UPDATE_TEXT_SQL = `UPDATE LEVAULT.TEXT SET URL = REPLACE(URL, ?, ?);`

	UPDATE_PDF_SQL = `UPDATE LEVAULT.PDF SET URL = REPLACE(URL, ?, ?);`

	UPDATE_HELP_DOC_SQL = `UPDATE LEVAULT.HELP_DOC SET URL = REPLACE(URL, ?, ?);`

	UPDATE_RICH_TEXT_SQL = `UPDATE LEVAULT.RICH_TEXT SET URL = REPLACE(URL, ?, ?);`

	UPDATE_FILE_SETT_SQL = `UPDATE LEVAULT.FILE_SETT SET URL = REPLACE(URL, ?, ?);`

	UPDATE_MYSQL_META_DATA_SOURCE_SQL = `UPDATE levault.meta_data_source SET url = REGEXP_REPLACE(url, 'mariadb', ?),user_name = ?, type = ?, password = ?;`

	UPDATE_MYSQL_ML_DB_INFO_SQL = `UPDATE levault.ml_db_info SET url = REGEXP_REPLACE(url, 'mariadb', ?), host = ?,db_type = ?,password = ?,port = ?, user_name = ?;`
)
